package com.wdb.modules.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: wendaobai@qq.com
 * @date: 2024/3/21 0021 16:49
 */
@Mapper
public interface RoleMenuMapper {
  void deleteByMenuId(@Param("menuId") Long id);

  /**
   * 批量删除
   *
   * @param roleIds
   */
  void deleteByRoleIds(@Param("roleIds") List<Integer> roleIds);
}
